package com.tankbattle.start;

import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;
import java.awt.*;

@Component
public class GameStart {
    @PostConstruct
    public void init() {
        // 直接创建窗口
        EventQueue.invokeLater(StartPage::new);
    }

}
